package com.situ.meetingRoom.service;

import com.situ.meetingRoom.entity.Booking;
import com.situ.meetingRoom.util.PageInfo;
import com.situ.meetingRoom.vo.BookingVO;

import java.util.List;

public interface BookingService {
    PageInfo getForPage(Integer page, Integer limit, Booking booking);

    List<BookingVO> getAll(Booking booking);

    int remove(Integer id) throws Exception;

    int add(Booking booking) throws Exception;

    Booking getById(Integer id);

    int edit(Booking booking) throws Exception;
}
